package com.huang.springbootjspshiro.service;

import com.huang.springbootjspshiro.bean.Pers;
import com.huang.springbootjspshiro.bean.Role;
import com.huang.springbootjspshiro.bean.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {
    void register(User user);
    User findbyname(String name);
User findRolebyname(String name);

//
List<Pers> findPersbyid(String id);
}
